﻿<Window x:Class="Sparkle.Wpf.Demo.UI.Shell"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Host="clr-namespace:Sparkle.Hosting;assembly=SparkleWpfHosting"
    xmlns:Local="clr-namespace:Sparkle.Wpf.Demo.UI"
    Title="Sparkle UI Demo" Height="688.75" Width="1222.5" Loaded="Window_Loaded">
    <!--xmlns:local="clr-namespace:Sparkle.Demo.Model;assemly=Sparkle.Demo.Model"-->
    <!--<local:Employee x:Key="emp"  />-->
    <!--DataContext="{Binding Source={StaticResource emp }}"-->
    <Window.Resources>
        
    </Window.Resources>
    <Window.Background>
        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
            <GradientStop Color="#FF83BBF4" Offset="0"/>
            <GradientStop Color="#FF83BBF4" Offset="0.992"/>
            <GradientStop Color="#FF2873BE" Offset="0.085"/>
        </LinearGradientBrush>
    </Window.Background>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition  Width="200" />
            <ColumnDefinition  Width="*" />
            <ColumnDefinition  Width="200" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3"  Orientation="Horizontal" Margin="5,5,5,5">
            <Label HorizontalAlignment="Left" Width="Auto" Content="Sparkel Dynamic UI Generation Demo" FontWeight="Bold" Foreground="#FFFFFFFF" FontSize="24" FontFamily="Corbel"/>
            <Label HorizontalAlignment="Left" Width="Auto" Content="QuickStart" FontWeight="Normal" Foreground="#FFFFFFFF" FontSize="24" FontFamily="Corbel"/>
        </StackPanel>
        <Separator VerticalAlignment="Bottom" Grid.ColumnSpan="3"  Height="10"/>
        
        <Border Grid.Row="1" Grid.Column="0" >
            <StackPanel Width="Auto" Height="Auto" Margin="1,1,1,1">
                <Local:QuickLink x:Name="LinkedFileMenu" Height="275" Width="180"></Local:QuickLink>
                <Local:ReportLink x:Name="LinkedLocalReportMenu" Height="275" Width="180"></Local:ReportLink>
            </StackPanel>
        </Border>

        <Border Margin="10,5,10,10" Grid.Row="1" Grid.Column="1" CornerRadius="4,4,4,4" BorderBrush="#FF0F68A6" Background="#FFFCFCFC" BorderThickness="2,2,2,2" Width="Auto" Height="Auto" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
            <StackPanel Width="Auto" Height="Auto" Margin="1,1,1,1">
                <Host:HostingPanel x:Name="MainHostingPanel" HorizontalAlignment="Stretch"  VerticalAlignment="Stretch" Height="445" Width="761.25">                  
                </Host:HostingPanel>
            </StackPanel>
        </Border>
        
        <Border Grid.Row="1" Grid.Column="2" >
            <StackPanel Width="Auto" Height="Auto" Margin="1">
                <Local:QuickLink x:Name="QuickLinkMenu" Height="275" Width="180"> </Local:QuickLink>
                <Local:ReportLink x:Name="ReportLinkMenu" Height="275" Width="180"></Local:ReportLink>
            </StackPanel>
        </Border>
    </Grid>
</Window>
